/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Patrick;

/**
 *
 * @author Wallyson
 */
public class Exercicio49 {
     public static void main(String[] args) {

 
        int x = 1;
        int y = 2;
        int auxiliar = y;

 
        System.out.println("Sequência de Fibonacci: ");
        System.out.print(x + ", " + x + ", " + y);

 
        for (int contador = 1; contador <= 51; contador++){
 
            auxiliar = x + y;
            x = y;
            y = auxiliar;
 
            System.out.print(", " + auxiliar);
        }
    }
}
